<!-- 审核提示 -->
<div class="loding_context" *ngIf="loading" id="loding_context"></div>
<div class="modal fade bd-example-modal-sm" tabindex="-1" role="dialog" data-keyboard="false" data-backdrop="static"
     aria-labelledby="myModalLabel" aria-hidden="true" id="databaseBackupOrRestore">
  <div class="modal-dialog delete-modal modal-dialog-centered">
    <div class="modal-content" *ngIf="databaseType === 'backup'">
      <form #addForm="ngForm" (ngSubmit)="_backup(addForm.value)">
        <div class="modal-header">
          <h4 class="modal-title text-center">数据备份提示</h4>
        </div>
        <div class="modal-body text-center">
          <div class="container">

            <!-- <div class="input_div">
              <label class="input_title">导出路径：</label>

              <select class="input_inputStyle" name="pathCode" style="width: calc(100% - 100px);" #pathCode="ngModel" ngModel="">
                <option value="">请选择</option>
                <option *ngFor="let val of exportPathList" value="{{val.pathCode}}">{{val.pathName}}</option>
              </select>

            </div> -->

            <div class="input_div">

              <label class="input_title">大小(MB)：</label>
              <input class="input_inputStyle" required name="fileSize" placeholder="默认为10，大小限制(MB)" style="width: calc(100% - 100px);" #fileSize="ngModel" ngModel="10">

            </div>
          </div>
        </div>
        <div class="modal-footer" style="width: 100%;">
          <button type="submit" class="btn btn-primary" data-toggle="modal" [disabled]="addForm.invalid">确认</button>
          <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        </div>
      </form>
    </div>
    <div class="modal-content" *ngIf="databaseType === 'restore'">
      <div class="modal-header">
        <h4 class="modal-title text-center">数据还原提示</h4>
      </div>
      <div class="modal-body text-center">
        <p class="delete-prompt">请确认是否还原数据！</p>
      </div>
      <div class="modal-footer" style="width: 100%;">
        <button type="button" class="btn btn-primary" data-toggle="modal" (click)="_restore()">确认</button>
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
      </div>
    </div>
  </div>
</div>
<!-- 审核提示 -->